package com.vhall.component.entity.account.vo;

import com.vhall.component.framework.common.annotation.ParamName;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @author lsl
 * @since 2021/7/29
 */
@Data
public class AdmDeleteReqVO implements Serializable {

    @ParamName("admin_ids")
    @NotBlank(message = "admin_ids参数不能为空")
    @Pattern(regexp = "^(?!,)[\\d,]*(?<!,)$", message = "admin_ids参数错误，请传入正确的格式，多个Id请以逗号分割，且不以逗号开始或者结尾")
    private String adminIds;
}
